package com.vhall.component.entity.tag.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * @author shimingming
 * @since 2023/4/12 17:21
 */
@Data
public class PageChannelChangeReqVO implements Serializable {

    /**
     * 主键
     */
    private Integer id;


    /**
     * 状态:1-启用，0-禁用
     */
    @ParamName("channel_status")
    @JsonProperty("channel_status")
    @Range(min = 0, max = 1, message = "状态只能是0,1")
    private Integer channelStatus;

    /**
     * 状态:1-显示，0-不显示
     */
    @ParamName("channel_show")
    @JsonProperty("channel_show")
    @Range(min = 0, max = 1, message = "状态只能是0,1")
    private Integer channelShow;


}
